package com.qfedu.stussm.dao;

import com.qfedu.stussm.entity.Doctor;
import com.qfedu.stussm.entity.Equipment;

import java.util.List;

public interface EquipmentDao {
    /**
     * 增加奖惩
     *
     * @param equipment
     * @return
     */
    int add(Equipment equipment);

    /**
    *查詢
    */
    List<Equipment> queryAll(String keyword);

    /**
     * 修改
     * @param
     * @return
     */
    int update(Equipment equipment);

    /**
     * 根据id数组来删除
     * @param ids
     * @return
     */
    int delbyids(List<Integer> ids);
}
